const router = require("express").Router();

const Centro = require("../controller/Centro");

router.get("/getColNames", Centro.getColNames);
//学习记录,没有输入框的值时,查询全部
router.get("/getAll", Centro.getLearnRecord);
//输入框查询的值走这里keywords
router.get("/", Centro.getSearchValue);
//每日学习记录插入数据库
router.put("/updatetodos", Centro.updateTodos);
module.exports = router;
